package com.cmc.cloud.cmclink.doc.constants.errorconstant;

import com.cmes.framework.common.exception.ErrorCode;

/**
 * 提单打印错误码常量类
 * 
 * @author codegen
 */
public class BlnoBlPrintLogErrorCodeConstants {

    public static final ErrorCode BLNO_BL_PRINT_LOG_NOT_EXISTS = new ErrorCode(1004044001, "提单数据不存在");
    public static final ErrorCode BLNO_ID_NOT_NULL = new ErrorCode(1004044002, "提单ID不能为空");
    public static final ErrorCode FILE_NOT_GENERATED = new ErrorCode(1004044003, "pdf文件未生成");
    public static final ErrorCode FILE_GENERATE_FAILED = new ErrorCode(1004044004, "请求文件服务返回失败或超时");
    public static final ErrorCode FILE_UPLOAD_FAILED = new ErrorCode(1004044005, "上传PDF到文件服务器失败");
    public static final ErrorCode BLNO_NOT_EXISTS = new ErrorCode(1004044006, "不存在该提单");
    public static final ErrorCode BLNO_ETD_NOT_EXISTS = new ErrorCode(1004044009, "ATU时间为空，不允许生成确认件");
    public static final ErrorCode BLNO_LOCK_FLAG_NOT_EXISTS = new ErrorCode(1004044010, "未锁单，禁止生成确认件");
    public static final ErrorCode BLNO_IS_RESTRICTED = new ErrorCode(1004044011, "SI有扣单");
    public static final ErrorCode BLNO_JSON_PARSE_ERROR = new ErrorCode(1004044012, "JSON解析异常处理");
    public static final ErrorCode BLNO_SIGN_TYPE_NOT_EXISTS = new ErrorCode(1004044013, "提单未签发");
    public static final ErrorCode BLNO_SI_STATUS_NOT_CONFIRMED = new ErrorCode(1004044014, "SI状态是已确认Draft件，方可生成确认件");
    public static final ErrorCode BLNO_SI_STATUS_NOT_CONFIRMED_DRAFT = new ErrorCode(1004044015, "SI非确认状态或者Draft待确认状态，不可生成draft件");
    public static final ErrorCode BLNO_ENTITY_NOT_EXISTS = new ErrorCode(1004044016, "提单主体为空");
    public static final ErrorCode BLNO_PDF_TEMPLATE_ERROR= new ErrorCode(1004044017, "PDF模板解析错误");
    public static final ErrorCode BLNO_STATUS_ILLEGAL  = new ErrorCode(1004044018, "提单状态非法，无法继续操作");
    public static final ErrorCode BLNO_ENTITY_NOT_SUPPORT_ERROR = new ErrorCode(1004044019, "提示提单主体非法，不被支持");
    public static final ErrorCode BLNO_FILE_ZIP_FAIL = new ErrorCode(1004044020, "提单打印文件打包失败");
    public static final ErrorCode BLNO_NOT_PRINT_TYPE = new ErrorCode(1004044021, "提单打印类型不存在");
    public static final ErrorCode BLNO_PRINT_FILE_IS_EMPTY = new ErrorCode(1004044022, "打印文件为空");
    public static final ErrorCode BLNO_UNPRINTED_DRAFT = new ErrorCode(1004044023, "提单草稿件未打印");
    public static final ErrorCode BLNO_SIGN_TYPE_ERROR = new ErrorCode(1004044024, "提单签发类型错误");
    public static final ErrorCode BLNO_NOT_SIGN_OR_ERROR = new ErrorCode(1004044025, "提单未签发或签发类型错误");
    public static final ErrorCode FILE_IO_EXCEPTION = new ErrorCode(1004044026, "文件流异常");



}